package com.fg.cloud.manager.entry.product;

import java.util.List;

import com.fg.cloud.common.annotation.Column;
import com.fg.cloud.manager.entry.BaseEntity;

/**
 * @author liushengchao
 * @Description: 规格模板实体 
 * @date 2017年6月23日下午5:24:53
 *
 */
public class ProductSpecModelEntity extends BaseEntity{

	private static final long serialVersionUID = -8312289337362949883L;
	
	private Long id; //模板ID

	private Long facId; //厂商ID	

	@Column
    private String modelName; //模板名称
	
	@Column
    private String modelNumber; //模板编号
	
	private List<ProductSpecKeyEntity> specKeyEntities; //规格键集合
	
	

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public List<ProductSpecKeyEntity> getSpecKeyEntities() {
		return specKeyEntities;
	}

	public void setSpecKeyEntities(List<ProductSpecKeyEntity> specKeyEntities) {
		this.specKeyEntities = specKeyEntities;
	}

	public Long getFacId() {
        return facId;
    }

    public void setFacId(Long facId) {
        this.facId = facId;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName == null ? "" : modelName.trim();
    }

    public String getModelNumber() {
        return modelNumber;
    }

    public void setModelNumber(String modelNumber) {
        this.modelNumber = modelNumber == "" ? null : modelNumber.trim();
    }

}